package com.taobao.ic.diamond;

import com.taobao.diamond.manager.BaseStonePubManager;
import com.taobao.diamond.manager.impl.DefaultBaseStonePubManager;

public class DiamondPublishTest {
	public static void main(String[] args) {
		String group = "com.taobao.item.schema";
		String dataId = "com.taobao.item.event.config";
		String datumId = "123";
		String configInfo = "abcdefg";
		long timeout = 1000;
		BaseStonePubManager pubManager = new DefaultBaseStonePubManager();
		boolean result = pubManager.publish(dataId, group, datumId, configInfo,
				timeout);
		System.out.println("publish result=" + result);
	}
}
